@echo off
::
::  Demonstrates use of ElevateThis for a batch file that needs to run elevated
::  and relies on other files in the same directory
::

ElevateThis.exe /BatchFile %0 /BatchArgs %* && goto :eof

echo.
echo --- Launch Example.bat ---
echo.
echo Directory is %CD%
if exist "Simple Example.bat" echo SUCCESS!
if not exist "Simple Example.bat" echo FAILED!
echo.
pause
